<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='admin/plugins/bootstrap/css/bootstrap.min.css') }}">

</head>
<body>
<div class="row">
    <div class="col-md-3"></div>
    <div class="col-md-6">
        <form class="form-horizontal" method="post">
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label">名称</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="inputEmail3" name="username"
                           placeholder="{{ user_obj.username }}" value="{{ user_obj.username }}">
                </div>
            </div>

            <div class="form-group">
                <label for="inputEmail2" class="col-sm-2 control-label">手机号</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="inputEmail2" name="phone"
                           placeholder="{{ user_obj.phone }}" value="{{ user_obj.phone }}">
                </div>
            </div>
            <div class="form-group">
                <label for="inputEmail2" class="col-sm-2 control-label">请选择</label>
                <div style="height: 7px"></div>
                <div class="col-sm-10">
                    <input type="radio" name="is_delete" id="optionsRadios1" value="0"
                           {% if not user_obj.is_delete %}checked{% endif %}>
                    激活
                    <input type="radio" name="is_delete" id="optionsRadios2" value="1"
                           {% if user_obj.is_delete %}checked{% endif %}>
                    冻结
                </div>
            </div>
            <div class="form-group">
                <label for="inputEmail2" class="col-sm-2 control-label">请选择</label>
                <div style="height: 7px"></div>
                <div class="col-sm-10">
                    <input type="radio" name="is_admin" value="1"
                           {% if user_obj.is_admin %}checked{% endif %}>
                    管理员
                    <input type="radio" name="is_admin" value="0"
                           {% if not user_obj.is_admin %}checked{% endif %}>
                    普通用户
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-success">修改</button>
                </div>
            </div>
        </form>
    </div>
    <div class="col-md-3"></div>

</div>
<script src="{{ url_for('static', filename='admin/plugins/jQuery/jquery-2.2.3.min.js') }}"></script>
</body>
</html>